﻿namespace Baddies.Events
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Microsoft.Xna.Framework.Input;

    /// <summary>
    /// Arguments for the KeyPress event.
    /// </summary>
    public class KeyPressArg : EventArgs
    {
        /// <summary>
        /// Key that was pressed.
        /// </summary>
        private Keys key;

        /// <summary>
        /// Gets or sets the key.
        /// </summary>
        /// <value>Key in question.</value>
        public Keys Key
        {
            get { return this.key; }
            set { this.key = value; }
        }

        /// <summary>
        /// Text representation of this class.
        /// </summary>
        /// <returns>String with the textual representation of the class.</returns>
        public override string ToString()
        {
            return "KeyPress: " + this.key;
        }
    }
}
